package net.demo.common.util;


//对字符串进行一些操作
public class StringUtils {
		
	
	public static String[] spiltString(String s , char regx){
		if(s == null)
			return new  String[0];
		return s.split(""+regx);
	}
	
	
	public static String lowerCase(String string){
		if(string.trim().equals("") || string == null)
			return null;
		return string.toLowerCase().trim();
	}
	
	
	public static boolean isNull(String string){
		return (string != null) && (!string.trim().equals(""));
	}
	
	
	
}
